<?php /* Smarty version 2.6.14, created on 2009-08-25 00:17:49
         compiled from kl_trends.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'kl_trends.html', 113, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $this->_tpl_vars['sitekeywords']; ?>
">
<meta name="description" content="<?php echo $this->_tpl_vars['sitedescription']; ?>
">
<meta name="author" content="<?php echo $this->_tpl_vars['siteauthor']; ?>
" />
<title><?php echo $this->_tpl_vars['sitename']; ?>
</title>
<link href="css/trends.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="css/texiao.css" />
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/texiao.js" type="text/javascript"></script>
<script src="scripts/iepng.js" type="text/javascript"></script>
<script src="scripts/romantic.js" type="text/javascript"></script>

<script type="text/javascript" src="./scripts/jquery.jcarousel.pack.js"></script>

<link rel="stylesheet" type="text/css" href="./css/jquery.jcarousel.css" />

<link rel="stylesheet" type="text/css" href="./css/skin.css" />
<script type="text/javascript">
   EvPNG.fix('div, ul, img, li, input, a, span, h3');  //EvPNG.fix('包含透明PNG图片的标签'); 多个标签之间用英文逗号隔开。

</script>
<script type="text/javascript">

function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: 2,
        wrap: 'last',
        initCallback: mycarousel_initCallback
    });
});

</script>
</head>

<body>
<div id="wrapper">
	<div id="header">
    	<div id="headertop">
        	<div id="logo"><a href="#">恒爱策划有限公司</a></div>
            <div id="landing"><a href="login.php">登陆</a> | <a href="kl_register.php">注册</a> | <a href="myacccount.php">我的帐户</a></div>
            <div class="clear"></div>
        </div>
        <div id="headernav"><ul>
       		 <li class="l1"><a href="index.php"  ></a></li>
                <li class="l2"><a href="kl_register.php" class="<?php echo $this->_tpl_vars['register']; ?>
" id="onregister"></a></li>
                <li class="l3"><a href="kl_trends.php" class="<?php echo $this->_tpl_vars['trends']; ?>
" id="ontrends"></a></li>
                <li class="l4"><a href="kl_hot.php" class="<?php echo $this->_tpl_vars['hot']; ?>
"  id="onhot"></a></li>
                <li class="l5"><a href="http://lr.zoosnet.net/LR/Chatpre.aspx?id=LEF19538905&lng=cn"  target="_blank" onclick="headchange()" id="online" class="DD"></a></li>
        	</ul></div>
           <div class="clear"></div>
         <div id="banner"><img src="./templates/images/head15_03.jpg" /></div>
        <div class="clear"><hr></div>
    </div>
    <div id="trend_contain">
    	<div class="title"><img src="./templates/images/kltrends.jpg" /></div>
        <div class="left_ad">
			<div class="l_flash_pic">
			<div id="ifocus">
				<div id="ifocus_pic">
					<div id="ifocus_piclist" style="left:0; top:0;">
             
						<ul>
						   <?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['change_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
    $this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
    if ($this->_sections['loop']['total'] == 0)
        $this->_sections['loop']['show'] = false;
} else
    $this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):

            for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
                 $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
                 $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first']      = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last']       = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>
							<li><a href="trends_daili.php?id=<?php echo $this->_tpl_vars['change_data'][$this->_sections['loop']['index']]['id']; ?>
"><img src="<?php echo $this->_tpl_vars['change_data'][$this->_sections['loop']['index']]['images']; ?>
" alt="" /></a></li>
                        <?php endfor; endif; ?>
							
						</ul>
					</div>
				</div>
				<div id="ifocus_btn">
					<ul>
						 <?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['change_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
    $this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
    if ($this->_sections['loop']['total'] == 0)
        $this->_sections['loop']['show'] = false;
} else
    $this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):

            for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
                 $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
                 $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first']      = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last']       = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>
                     	<?php if ($this->_sections['loop']['index'] == 0): ?>
						<li class="current" id="p0"><a href="trends_daili.php?id=<?php echo $this->_tpl_vars['change_data'][$this->_sections['loop']['index']]['id']; ?>
"><img src="<?php echo $this->_tpl_vars['change_data'][$this->_sections['loop']['index']]['images']; ?>
" alt="" /></a></li>
                        <?php else: ?>
						<li id="p<?php echo $this->_sections['loop']['index']; ?>
"><img src="<?php echo $this->_tpl_vars['change_data'][$this->_sections['loop']['index']]['images']; ?>
" alt="" /></li>
                        <?php endif; ?>
                     <?php endfor; endif; ?>
					</ul>
				</div>
			</div>	
		  </div>
       </div>
        <div class="news_right">
        	<p><img src="./templates/images/KOEL2_03.jpg" /></p>
            <div class="clear"></div>
            <div class="news_con">
        		<ul>
                	<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['hot_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
    $this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
    if ($this->_sections['loop']['total'] == 0)
        $this->_sections['loop']['show'] = false;
} else
    $this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):

            for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
                 $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
                 $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first']      = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last']       = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>
                        <?php if ($this->_sections['loop']['index'] == 0): ?>
                            <li class="have_pic_con"><img src="<?php echo $this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['images']; ?>
" width="96" height="74" /><p><a href="trends_daili.php?id=<?php echo $this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['id']; ?>
"><strong><?php echo $this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['news_title']; ?>
</strong><br /><?php echo ((is_array($_tmp=$this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['news_content'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 30, "...") : smarty_modifier_truncate($_tmp, 30, "...")); ?>
</a></p></li>
                        <?php else: ?>
                            <li><a href="trends_daili.php?id=<?php echo $this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['id']; ?>
"><img src="./templates/images/KOEL4_03.jpg" />&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['hot_data'][$this->_sections['loop']['index']]['news_title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 30, "...") : smarty_modifier_truncate($_tmp, 30, "...")); ?>
</a></li>
                        <?php endif; ?>
                    <?php endfor; endif; ?>
           		 </ul>
            </div>
        </div>
        <div class="clear"></div>
       <div class="middle_top">
      
          <ul id="mycarousel" class="jcarousel-skin-tango">
          <?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['run_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loop']['show'] = true;
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
$this->_sections['loop']['step'] = 1;
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
if ($this->_sections['loop']['show']) {
    $this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
    if ($this->_sections['loop']['total'] == 0)
        $this->_sections['loop']['show'] = false;
} else
    $this->_sections['loop']['total'] = 0;
if ($this->_sections['loop']['show']):

            for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
                 $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
                 $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
$this->_sections['loop']['first']      = ($this->_sections['loop']['iteration'] == 1);
$this->_sections['loop']['last']       = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
?>
            <li><a href="trends_daili.php?id=<?php echo $this->_tpl_vars['run_data'][$this->_sections['loop']['index']]['id']; ?>
"><img src="<?php echo $this->_tpl_vars['run_data'][$this->_sections['loop']['index']]['images']; ?>
" width="118" height="170" alt="" /></a></li>
          <?php endfor; endif; ?>
          </ul>
       </div>
       <div class="middle_right">
       	<object width="220" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="margin:0px 10px 0pt 0pt;" height="184">
  <param value="./Flvplayertwo.swf" name="movie"/>
  <param value="high" name="quality"/>
  <param value="true" name="allowFullScreen"/>
  <param value="vcastr_file=<?php echo $this->_tpl_vars['vido_data']; ?>
&amp;BufferTime=3" name="FlashVars"/>
  <param value="transparent" name="wmode"/>
  <embed width="220" height="184" wmode="" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=<?php echo $this->_tpl_vars['vido_data']; ?>
" allowfullscreen="true" src="./Flvplayertwo.swf" style="margin:0px 10px 0pt 0pt;"/>
</object>
       </div>
       <div class="clear"></div>
       <div class="middle_bottom">
       		<img width="791" height="132" src="<?php echo $this->_tpl_vars['tupian_data']; ?>
" />
       </div>
    </div>
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>